import  React  from 'react'
import {connect} from 'react-redux'

class Count extends React.Component {
    render() {
        return (
            <div>
                <h3>当前求和为：？？？？</h3><br/>
                <select name="" id="">
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                </select> &nbsp;
                <button >+</button>&nbsp;
                <button>-</button>&nbsp;
                <button>当前求和为奇数相加</button>&nbsp;
                <button>异步加</button>&nbsp;
            </div>
        )
    }
}

export  default connect(
    state => ({
        count:state.count
    }),
    {}
)(Count)